<form method=post enctype="multipart/form-data">
<input type=hidden name=addpilots value=1>

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
            </tr>
          <tr>
            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="250" rowspan="2" align="left" valign="top"><img src="<!--ImageURL--><?php echo $FLAG;?>" width="200" height="400"></td>
                <td align="center" valign="top"><table width="90%"  border="0" cellpadding="0" cellspacing="0" class="table5">
                  <tr>
                    <td width="100%" height="20" class="table4"><div align="center"><?php echo $SLANG[sqpanel][$lang][addnewpilots];?></div></td>
                    <td width="40" rowspan="2"><img src="<!--ImageURL--><?php echo $ICON;?>" width="40" height="40"></td>
                  </tr>
                  <tr>
                    <td height="20" class="back5">&nbsp;</td>
                    </tr>
                  <tr valign="middle">
                    <td height="20" colspan="2" align="center"><table width="90%"  border="0" cellpadding="0" cellspacing="0">
                      <tr valign="middle" class="table5">
                        <td align="center">&nbsp;</td>
                        <td align="center"><?php echo $SLANG[sqpanel][$lang][name];?></td>
                        <td align="center">&nbsp;</td>
                        <td align="center">e-mail</td>
                        <td align="center">&nbsp;</td>
                        <td align="center"><?php echo $SLANG[sqpanel][$lang][lang];?></td>
                        <td align="center">&nbsp;</td>
                      </tr>
                      <tr valign="middle" class="table5">
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                      </tr>

<?php
		$i=0;
        while ($VARS[pilotstoadd]) {


?>
                      <tr valign="middle" class="table5">
                        <td width="10" align="center">
   	                    	<div align="left"></div>
                        </td>
                        <td align="center">
                        	<input type=text class="form2a" value="<?php echo $VARS[squad][tag];?>" readonly="true"><input name="callsign[<?php echo $i;?>]" type="text" class="form5" value="">
                        </td>
                        <td width="10" align="center">&nbsp;</td>
                        <td align="center">
                        	<input name="email[<?php echo $i;?>]" type="text" class="form5" value="">
                        </td>
                        <td width="10" align="center">&nbsp;</td>
                        <td align="center">
                    	<select name=lang[<?php echo $i;?>] class="form5">
	                    	<option value='ru'>Russian</option>
    			            <option value='en'>English</option>
                        </select>
                        </td>
                        <td width="10" align="center">&nbsp;</td>
                      </tr>

                      <tr valign="middle" class="table5">
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                        <td align="center">&nbsp;</td>
                      </tr>
<?php

	        $VARS[pilotstoadd]--;
            $i++;
        }

?>

                      <tr valign="middle" class="table5">
                        <td height="30" colspan="9" align="center">
                        	<input name="dopost" type="submit" class="form4" value="<?php echo $SLANG[sqpanel][$lang][addnewpilotsb];?>"></td>
                        </tr>

                      <tr valign="bottom" class="table5">
                        <td height="50" colspan="9" align="center"><div align="left"><?php echo $SLANG[sqpanel][$lang][prosim];?></div></td>
                      </tr>

                    </table>
                  </td>
                    </tr>
                  <tr valign="middle">
                    <td height="20" colspan="2" align="center">&nbsp;</td>
                  </tr>
                </table></td>
                </tr>
              <tr>
                <td align="center" valign="top">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            </tr>
        </table>